package com.zero.jewelry.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zero.common.annotation.excel.Excel;
import com.zero.common.core.domain.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;



/**
 * 产品分区关联对象 product_partition_rel
 *
 * @author cai-xu-kun
 * @date 2025-08-01
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class ProductPartitionRel extends BaseEntity {
    /** 产品ID */
    private Long productId;

    /** 分区ID */
    private Long partitionId;

    /** 创建时间 */
    private Date createTime;

    public ProductPartitionRel(Long productId, Long partitionId) {
        this.productId = productId;
        this.partitionId = partitionId;
    }
}
